<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page import="cfs.formbean.DepositForm"%>
<jsp:include page="tempHeader.jsp" />
<jsp:include page="tempMenubar.jsp" />
<hr><div id="container">
        <div id="content" class="wrap">                
                
                <hr><h2 class="separate">Deposit Check For Customer</h2>
                <div class="marginBottom30 clearFix"><div>
                    <jsp:include page="error-list.jsp" />
                    <h3 class="separate">${msg}</h3>
                    
                    <c:if test="${!empty formListItem }"> 
                        <h3> Select a customer: </h3>	 
                         
                     </c:if>
                     <form id="sellfundform" method="post" action="depositCheck.do">
                                <table class="card-activity expandable" cellspacing="5">
                                       <c:if test="${not empty formListItem}">
                                       <tr>
                                            <th class="header" width ="60" style="text-align:left;">
                                             Select</th>
                                            <th class="header" width ="200" style="text-align:right;">
                                             User Name</th>
                                            <th class="header" width ="200" style="text-align:right;">
                                             First Name</th>
                                            <th class="header" width ="200" style="text-align:right;">
                                             Last Name</th>
                                            <th class="header" width ="300" style="text-align:right;">
                                             Available Balance</th>
                                        </tr>
                                        <c:forEach var="DepositForm" items="${formListItem}">
                                        <tr>
					<td><input type="radio" name="customerIdSelected"
						value="${DepositForm.customerid}" onclick="showform('deposit');" /></td>
                                        <td style="text-align: right;">${DepositForm.username}</td>
                                        <td style="text-align: right;">${DepositForm.firstname}</td>
                                        <td style="text-align: right;">${DepositForm.lastname}</td>
					<td style="text-align: right;">&#36;${DepositForm.availablebalance}</td>
                                        </tr>
                                        </c:forEach>
                                    </c:if>
                                </table> 
                         
                         <hr><h2 class="separate"></h2>
                         <div id="contact_form" style="display:none;">
                             
                         <h3>Select Amount to Deposit:</h3>
                                   <label for="number">Amount: </label><input maxlength="15" type="text" name="amount" value="${form.amount}" />
                                   <input type="submit" class="submit_btn" name="button" id="submit" value="Deposit" maxlength="15" />
                             </div>    
                                 
                                 
                                 
                    </form>
                    </div>
                </div>
                    
                    
                   
                    
                </div>
</div>
                                   
<jsp:include page="tempBottom.jsp" />